package com.example.happ.service;

import com.example.happ.pojo.Merchant;
import com.example.happ.pojo.User;

import java.util.Map;

/**
 * @Package：com.example.demo.service.impl
 * @Project：demo
 * @name：王志迎
 * @Date：2024/12/24 9:36
 * @Filename：saveUserService
 */

public interface UserService {

    boolean updateUserInfo(Map<String, String> user);

    int findUserInformationByOpenid(String openId);

    int insertUserInformationByOpenid(String openId, String avatarUrl, String nickName, String phone);

    User getUserInfo(Integer id);
}
